mir: don't warn if transient_for is NULL
authorWilliam Hua <william.hua@canonical.com>
Thu, 9 Jul 2015 19:59:29 +0000 (15:59 -0400)
committerWilliam Hua <william.hua@canonical.com>
Wed, 15 Jul 2015 11:43:55 +0000 (07:43 -0400)
gdk/mir/gdkmirwindowimpl.c

index 16035a02a4f07a4794a8fd9f968fcd878031640e..25e57c6a1eca30e6dd6eb997f3fbef97fd230903 100644 (file)
@@ -871,8 +871,6 @@ gdk_mir_window_impl_set_transient_for (GdkWindow *window,
   if (impl->transient_for == parent)
     return;
 
-  g_return_if_fail (impl->transient_for == NULL);
-
   /* Link this window to the parent */
   impl->transient_for = parent;
 }